package com.jiantong.work.service;

import com.jiantong.work.model.ButcherReport;
import io.terminus.common.model.Response;

import java.util.List;
import java.util.Map;

/**
 * Created by niufei on 2017/3/22.
 *
 */
public interface ButcherReportWriteService {

    /**
     * 创建屠宰检疫的单据
     * @param butcherReport 单据对象
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> create(ButcherReport butcherReport , Integer toStatus, List<String> remainderEars);

    /**
     * 更新屠宰检疫的单据
     * @param butcherReport 单据对象
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> update(ButcherReport butcherReport , Integer toStatus,List<String> remainderEars);
}
